package com.yihaodian.index.meta.shard.impl;

import java.util.List;

/**
 * Sharding based on category 
 * 
 * @author zhouhang
 *
 */
public class CategoryShardRule {
	
	// full category path
	private List<String> categories;
	
	// shard id
	private String shardId;

	public List<String> getCategories() {
		return categories;
	}

	public void setCategories(List<String> categories) {
		this.categories = categories;
	}

	public String getShardId() {
		return shardId;
	}

	public void setShardId(String shardId) {
		this.shardId = shardId;
	}
	
	
}
